﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using bdxyit.com.RecruitmentAppSys.ViewModels;
using System.Text;

namespace bdxyit.com.RecruitmentAppSys.Handler
{
    /// <summary>
    /// Summary description for AreaUniversity
    /// </summary>
    public class AreaUniversity : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            string id =  context.Request.QueryString["id"].ToString();
            //var univerlist = rdb.UniversityLists.Where(u => u.AreaID == id).ToList();
            //StringBuilder sb = new StringBuilder();
            //foreach (var u in univerlist)
            //{
            //    string uu = u.UniversityID + "!" + u.AreaID + "~" + u.UniversityName + "|";
            //    sb = sb.Append(uu);
            //}
            //context.Response.Write(sb);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}